package com.github.live.util;

import com.github.livebase.log.Formatter;
import com.github.livebase.log.LFormatter;

import java.util.Locale;

/**
 * @ClassName PlayerLogger
 * @description:
 * @author: biao532
 * @create: 2024-02-28 11:57
 * @Version 1.0
 **/
public class PlayerLogger extends ILogger{
    private static class SFormatter extends LFormatter {
        @Override
        public String format(String format, Object... params) {
            if (params.length == 0) {
                return format;
            }
            return String.format(Locale.US, format, params);
        }
    }
    private static Formatter formatter = new SFormatter();
    public PlayerLogger() {
        super(formatter);
    }
}
